package org.mall.modules.pojo.order.dto;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.Data;
import lombok.experimental.Accessors;
import org.mall.common.util.jsonschema.Long2StringSerializer;
import org.mall.common.util.jsonschema.String2LongDeserialize;

import java.io.Serializable;

/**
 *
 * 订单评论 query
 *
 */
@Data
@Accessors(chain = true)
public class OrderCommentPageDTO implements Serializable {

    /**
     * 商品 sku id
     */
    @JsonSerialize(using = Long2StringSerializer.class)
    @JsonDeserialize(using = String2LongDeserialize.class)
    private Long  productSpuId;

    /**
     * 页码
     */
    private Integer pageNo;

    /**
     * 每页条数
     */
    private Integer pageSize;

}
